#include <bits/stdc++.h>

using namespace std;

const int N = 1e5 + 10;

int a[N];

int n;

int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    freopen("duel.in", "r", stdin);
    freopen("duel.out", "w", stdout);
    cin >> n;
    for (int i = 1; i <= n; i++) {
        cin >> a[i];
    }
    sort(a + 1, a + 1 + n);
    int pos = 0, lst = 0;
    a[n + 1] = 1e9 + 9;
    for (int i = 1; i <= n; i++) {
        if (a[i] < a[i + 1]) {
            lst = max(lst, i - pos);
            pos = i;
        }
    }
    cout << lst << '\n';
    return 0;
}
